package com.zlp.design;

public class ExectorMath {
	
	public TargerExector exectorTarger(int i){
		if (1 == i ) {
		   return new OneExcetor();
		}else if (2 == i ) {
			return new TwoExcetor();
		}else if (3 == i ) {
			return new ThreeExcetor();
		}else if (4 == i ) {
			return new FourExcetor();
		}else if (5 == i ) {
			return new FiveExcetor();
		}
		return null;
	}

}
